/*
 * @Description: 
 * @Author: wangqi
 * @Date: 2021-04-20 07:13:01
 * @LastEditTime: 2021-04-20 07:24:27
 */
let style = ``;
//  style.innerHTML = JSON.stringify(loader) 可以将index.less的代码转为一行
function loader(source) {
    style = `let style = document.createElement('style'); style.innerHTML = ${JSON.stringify(source)}; document.head.appendChild(style)`;
    return style;
};

module.exports = loader

